//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package study.IO.字节流.OutputStream;

import java.io.FileOutputStream;
import java.io.IOException;

public class FileOutputStream_demo {
    public FileOutputStream_demo() {
    }

    public static void main(String[] args) throws IOException {
        FileOutputStream fos = new FileOutputStream("JavaTest\\Files\\a.txt", false);
        fos.write(97);
        byte[] bytes = "aaacc\r\ncc".getBytes();
        fos.write(bytes);
        fos.write(bytes, 2, 2);
        fos.close();
    }
}
